﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="MyTravelPostWebsite._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">

        .style1
        {
            font-family: Cambria;
            font-size: xx-large;
            font-style: italic;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="style1">
    
        Welcome to my Travel post.
        <h3>A sample that shows how the ADO.NET Entity Framework works with WCF.</h3>
        <h5>This sample is written in Visual Basic.</h5></div>
    <p>
        Select the travel blog you want to view and another page launches showing the 
        most recent blog postings and comments.
        <br />
        <br />
        <asp:GridView ID="BlogGrid" runat="server" 
            AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" 
            BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" 
            GridLines="Horizontal" style="text-align: center" Width="585px">
            <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
            <columns>
                <asp:hyperlinkfield DataNavigateUrlFields="BlogID" 
                    DataNavigateUrlFormatString="TravelPage.aspx?BlogID={0}" 
                    DataTextField="SeriesTitle" HeaderText="Series Title" Text="Series Title">
                </asp:hyperlinkfield>
            </columns>
            <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
            <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
        </asp:GridView>
    </p>
    </form>
</body>
</html>
